package hn.cch.engine.boot;

import hn.cch.common.core.Boot;
import hn.cch.common.spring.SpringAnnotation;
import hn.cch.common.spring.SpringConfiguration;

import java.util.Map;

public class Main {

    public static void main(String[] args) {

        SpringAnnotation.newBean(SpringConfiguration.class);
        Map<String, Boot> bootBeanMaps = SpringAnnotation.getBeanMaps(Boot.class);
        for (Boot boot:bootBeanMaps.values()) {
            boot.main();
        }


    }
}
